﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using OSharp.Entity;
using Starzero.Plugins.RevitApp.Entities;

namespace Starzero.Plugins.RevitApp.EntityConfiguration
{
    public class ExampleEntityConfiguration : EntityTypeConfigurationBase<Example, Guid>
    {
        public override void Configure(EntityTypeBuilder<Example> builder)
        {
            builder.HasData(
                new Example() { Id = Guid.NewGuid(), Title = "Haha", Content = "Example Test" }
            );
        }
    }
}

